package SymbolTable;

import antlr.collections.*;

//////////////////////////////////////////////////////////////////////////
//// STVariableEntry
/**

@author Ivan Jeukens
@version v 0.1 03/10/2001
*/
public class STVariableEntry extends STEntry {

    public STVariableEntry(String name, int mode, AST node, int narray) {
        super(name, mode, node, narray);
    }

    ///////////////////////////////////////////////////////////////////
    ////                        public methods                     ////

    public boolean isPrimitive() {
        return _isPrimitive;
    }

    public void setPrimitive(boolean value) {
        _isPrimitive = value;   
    }
    
    public void setFinal(boolean isFinal) {
        _isFinal = isFinal;
    }
    
    public boolean isFinal() {
        return _isFinal;
    }
    
    public boolean isStatic() {
        return _isStatic;
    }
    
    public void setStatic(boolean isStatic) {
        _isStatic = isStatic;
    }
    
    ///////////////////////////////////////////////////////////////////
    ////                        private variables                  ////
        
    private boolean _isPrimitive;
    private boolean _isFinal;
    private boolean _isStatic;
}
